package cn.q3c.stock.object;

import java.util.Date;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;

/**
 * 日线记录
 * 
 * @author wangxinning
 * 
 */
public class StockDayLine {

	private Integer nid;

	public Integer getNid() {
		return nid;
	}

	public void setNid(Integer nid) {
		this.nid = nid;
	}

	public Integer getStockID() {
		return stockID;
	}

	public void setStockID(Integer stockID) {
		this.stockID = stockID;
	}

	public Date getTradingDate() {
		return tradingDate;
	}

	public void setTradingDate(Date tradingDate) {
		this.tradingDate = tradingDate;
	}

	public Float getOpenPx() {
		return openPx;
	}

	public void setOpenPx(Float openPx) {
		this.openPx = openPx;
	}

	public Float getClosePx() {
		return closePx;
	}

	public void setClosePx(Float closePx) {
		this.closePx = closePx;
	}

	public Float getHighPx() {
		return highPx;
	}

	public void setHighPx(Float highPx) {
		this.highPx = highPx;
	}

	public Float getLowPx() {
		return lowPx;
	}

	public void setLowPx(Float lowPx) {
		this.lowPx = lowPx;
	}

	public Float getAvgPx() {
		return avgPx;
	}

	public void setAvgPx(Float avgPx) {
		this.avgPx = avgPx;
	}

	public Integer getVolume() {
		return volume;
	}

	public void setVolume(Integer volume) {
		this.volume = volume;
	}

	public Integer getValue() {
		return value;
	}

	public void setValue(Integer value) {
		this.value = value;
	}

	private Integer stockID;
	private Date tradingDate;
	private Float openPx;
	private Float closePx;
	private Float highPx;
	private Float lowPx;
	private Float avgPx;
	private Integer volume;
	private Integer value;

	public String toString() {
		return ReflectionToStringBuilder.toString(this);
	}

}
